//
//  FMTableViewCell.m
//  leisure
//
//  Created by xalo on 16/4/19.
//  Copyright © 2016年 Mr.wangYongxu. All rights reserved.
//

#import "FMTableViewCell.h"
#import "FMModel.h"
#import "authOrUsrModel.h"

@implementation FMTableViewCell

-(void)setCellWithFMModel:(FMModel*)model{
    
    [self.coverimgView sd_setImageWithURL:[NSURL URLWithString:model.coverimg] placeholderImage:[UIImage imageNamed:@"placeHolderPicture"]];
    self.title.text = model.title;
    self.userInfouname.text = model.userInfoFM.uname;
    self.desc.text = model.desc;
    self.count.text = [model.count stringValue];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
